home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group99a.txt / 000237_icon-group-sender _Mon Dec 6 08:19:56 1999.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA16800
  4.     for icon-group-addresses; Mon, 6 Dec 1999 08:18:18 -0700 (MST)
  5. Message-Id: <199912061518.IAA16800@baskerville.CS.Arizona.EDU>
  6. X-Authentication-Warning: agate.berkeley.edu: news set sender to <news> using -f
  7. From: glass <msglass@mcs.com>
  8. X-Newsgroups: comp.lang.icon
  9. Subject: Text input vidget on Windows 98
  10. Date: Sun, 05 Dec 1999 04:28:04 -0600
  11. X-Trace: condor.cns.iit.edu 944389371 214753 255.255.255.255 (5 Dec 1999 10:22:51 GMT)
  12. X-Complaints-To: postmaster@iit.edu
  13. X-Accept-Language: en
  14. To: icon-group@optima.CS.Arizona.EDU
  15. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  16. Status: RO
  17.  
  18.  
  19. I am unable to persuade the text input vidget to work.  
  20.  
  21. The environment is Windows Icon 9.3.1 running on a W98 computer.
  22.  
  23. All the keyboard events while the mouse cursor is in the text input
  24. vidget are ignored.  I found them in a "missed" handler in
  25. ProcessEvent() or GetEvents(). The text in the vidget is not updated
  26. in response to key presses.
  27.  
  28. Pressing return or enter results in a missed event. The text input call
  29. back function is not called.
  30.  
  31. Mouse clicks within the text input vidget are *not* "missed", only the
  32. keyboard events. With the mouse, I can move the I-beam cursor and
  33. select text.
  34.  
  35. An experiment I tried was to use VSetState() to change the text.
  36. That works.  The call back function still is not called, however.
  37.  
  38. I'm new at this--this is the first time I am using VIB--so I
  39. may be missing something obvious.  But the other vidgets I am using seem
  40. to work, and I can't persuade the text input vidget to work in even
  41. a tiny one- or two-vidget screen.
  42.  
  43. -- Michael Glass
  44.  
  45.    (Yes, I read the caveat about the text input vidget confusing
  46.     users by not providing enough visual feedback, and calling the
  47. call       back function only on <enter>)
  48.